<?php
class Company extends Eloquent {
	protected $table = 'company';

	protected $primaryKey = 'user_id';
	/**
	 * 软删除
	 * @var boolean
	 */
	protected $softDelete = true;
	public function user()
	{
		return $this->belongsTo('User');
	}
	
}